

const {ccclass, property} = cc._decorator;

@ccclass
export  class CreateNode extends cc.Node {

    
    constructor(name:string){
        super();
        this.name = name;
    }

    /** 添加组件 */
    private NodeaddComponent(conpoment){

        this.addComponent(conpoment);
    }

    // LIFE-CYCLE CALLBACKS:

    // onLoad () {}

    start () {

    }

    // update (dt) {}
}